home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / mosaic / mailcap < prev    next >
Text File  |  1995-08-01  |  3KB  |  61 lines

  1. #    Default ScoMail mailcap file 
  2. #
  3. #    The mailcap file controls how various MIME data types are displayed,
  4. #    recorded, etc.   You can create a personal mailcap configuration by
  5. #    copying this file to $HOME/.mailcap and modifying it as you like.
  6. #
  7. #    The format of entries is:
  8. #    type; player-command { ;  keyword=command }*
  9. #    %s expands to a filename, %t to the type, %{param} to the value
  10. #    of the specified Content-Type parameter.
  11. #    The keyword can be one of compose, edit, or print
  12. #
  13. #    This requires the use of the audioserver
  14. audio/basic;scowave -autoplay %s; edit=scowave %s; compose=scowave %s
  15. audio/x-mpeg;maplay -l %s; edit=scowave %s; compose=scowave %s
  16. audio/x-wav;scowave -autoplay %s; edit=scowave -file wav -data AuFormatLinearUnsigned8 -rate 11025 %s; compose=scowave -file wav -data AuFormatLinearUnsigned8 -rate 11025 %s
  17. #
  18. #    use xv to handle several image formats
  19. image/*;xv %s
  20. #
  21. #    call ghostscript to display postscript
  22. #application/postscript;ghostview %s
  23. #    if your printer can handle postscript, uncomment (and modify 
  24. #    as necessary) this line instead of the above
  25. application/postscript;ghostview %s; print=lp %s
  26. #    this is mostly to verify compose & edit functionality
  27. text/plain;scoedit -r %s; compose=scoedit %s; edit=scoedit %s
  28. #
  29. #    if mpeg_play is installed, you can play movies 
  30. video/mpeg;mpeg_play %s
  31. #
  32. #    handle .avi files. Sound requires the audioserver be installed
  33. video/quicktime; xanim +Sr +Ca +CF4 -Cn -b -B %s
  34. video/x-msvideo; xanim +Sr +Ca +CF4 -Cn -b -B %s
  35. video/x-sgi-movie; xanim +Sr +Ca +CF4 -Cn -b -B %s
  36. #
  37. #    Microsoft Word 
  38. #    This assumes wabi and word 6.0 are installed using the defaults.
  39. #    Modify this line and the msword-compose script to match your
  40. #    installation if necessary.  If you are using a different version of word,
  41. #    create a blank document in /usr/lib/scomail/msword-empty
  42. #
  43. #application/msword;wabi -s $HOME/wabi/winword/winword %s; edit=wabi -s $HOME/wabi/winword/winword %s; compose=/usr/lib/scomail/msword-compose %s
  44. #
  45. #    Microsoft Excel
  46. #    This assumes wabi and excel 5.0 are installed using the defaults.
  47. #    Modify this line and the msexcel-compose script to match your
  48. #    installation if necessary.  If you are using a different version of excel,
  49. #    create a blank document in /usr/lib/scomail/msexcel-empty
  50. #
  51. #application/x-msexcel;wabi -s $HOME/wabi/excel/excel %s; edit=wabi -s $HOME/wabi/excel/excel %s; compose=/usr/lib/scomail/msexcel-compose %s
  52. #
  53. #    Microsoft PowerPoint 
  54. #    This assumes wabi and powerpnt 4.0 are installed using the defaults.
  55. #    Modify this line and the mspowerpnt-compose script to match your
  56. #    installation if necessary.  If you are using a different version,
  57. #    create a blank document in /usr/lib/scomail/mspowerpnt-empty
  58. #
  59. #application/x-mspowerpnt;wabi -s $HOME/wabi/powerpnt/powerpnt %s; edit=wabi -s $HOME/wabi/powerpnt/powerpnt %s; compose=/usr/lib/scomail/mspowerpnt-compose %s
  60.